\section{Tools.PageValidateHelper类参考}
\label{class_tools_1_1_page_validate_helper}\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}}


PageValidate 的摘要说明  


\subsection*{静态公有成员}
\begin{DoxyCompactItemize}
\item 
static bool {\bfseries IsPhone} (string inputData)\label{class_tools_1_1_page_validate_helper_a2f96faa19689b77c7bcb31ff4a54476b}

\item 
static string {\bf FetchInputDigit} (HttpRequest req, string inputKey, int maxLen)
\begin{DoxyCompactList}\small\item\em 检查Request查询字符串的键值，是否是数字，最大长度限制 \item\end{DoxyCompactList}\item 
static bool {\bf IsNumber} (string inputData)
\begin{DoxyCompactList}\small\item\em 是否数字字符串 \item\end{DoxyCompactList}\item 
static bool {\bf IsNumberSign} (string inputData)
\begin{DoxyCompactList}\small\item\em 是否数字字符串 可带正负号 \item\end{DoxyCompactList}\item 
static bool {\bf IsDecimal} (string inputData)
\begin{DoxyCompactList}\small\item\em 是否是浮点数 \item\end{DoxyCompactList}\item 
static bool {\bf IsDecimalSign} (string inputData)
\begin{DoxyCompactList}\small\item\em 是否是浮点数 可带正负号 \item\end{DoxyCompactList}\item 
static bool {\bf IsHasCHZN} (string inputData)
\begin{DoxyCompactList}\small\item\em 检测是否有中文字符 \item\end{DoxyCompactList}\item 
static bool {\bf IsEmail1} (string inputData)
\begin{DoxyCompactList}\small\item\em 是否是浮点数 可带正负号 \item\end{DoxyCompactList}\item 
static bool {\bf IsDateTime1} (string str)
\begin{DoxyCompactList}\small\item\em 日期格式字符串判断 \item\end{DoxyCompactList}\item 
static string {\bf SqlText} (string sqlInput, int maxLength)
\begin{DoxyCompactList}\small\item\em 检查字符串最大长度，返回指定长度的串 \item\end{DoxyCompactList}\item 
static string {\bf HtmlEncode} (string inputData)
\begin{DoxyCompactList}\small\item\em 字符串编码 \item\end{DoxyCompactList}\item 
static void {\bf SetLabel} (Label lbl, string txtInput)
\begin{DoxyCompactList}\small\item\em 设置Label显示Encode的字符串 \item\end{DoxyCompactList}\item 
static void {\bfseries SetLabel} (Label lbl, object inputObj)\label{class_tools_1_1_page_validate_helper_a9cb1fa4792807d22a05e1853cb27bbca}

\item 
static string {\bfseries InputText} (string inputString, int maxLength)\label{class_tools_1_1_page_validate_helper_a93e646e7867d363725e4b5823803c536}

\item 
static string {\bf Encode} (string str)
\begin{DoxyCompactList}\small\item\em 转换成 HTML code \item\end{DoxyCompactList}\item 
static string {\bf Decode} (string str)
\begin{DoxyCompactList}\small\item\em 解析html成 普通文本 \item\end{DoxyCompactList}\item 
static string {\bfseries SqlTextClear} (string sqlText)\label{class_tools_1_1_page_validate_helper_a5e81a2fd470e5683ce41da562baca47b}

\item 
static bool {\bfseries isContainSameChar} (string strInput)\label{class_tools_1_1_page_validate_helper_a45ff9f7b5c0b6ae688fb697bec01ece4}

\item 
static bool {\bfseries isContainSameChar} (string strInput, string charInput, int lenInput)\label{class_tools_1_1_page_validate_helper_a6052b1e0d7e40114f53eef24458b6901}

\item 
static bool {\bf isContainSpecChar} (string strInput)
\begin{DoxyCompactList}\small\item\em 检查输入的参数是不是某些定义好的特殊字符：这个方法目前用于密码输入的安全检查 \item\end{DoxyCompactList}\item 
static bool {\bf IsEmail} (string source)
\begin{DoxyCompactList}\small\item\em 验证邮箱 \item\end{DoxyCompactList}\item 
static bool {\bfseries HasEmail} (string source)\label{class_tools_1_1_page_validate_helper_a714a5133139b2fe40561a4033892850f}

\item 
static bool {\bf IsUrl} (string source)
\begin{DoxyCompactList}\small\item\em 验证网址 \item\end{DoxyCompactList}\item 
static bool {\bfseries HasUrl} (string source)\label{class_tools_1_1_page_validate_helper_a0add0da4026a847364735f5104b0d2c2}

\item 
static bool {\bf IsDateTime} (string source)
\begin{DoxyCompactList}\small\item\em 验证日期 \item\end{DoxyCompactList}\item 
static bool {\bf IsMobile} (string source)
\begin{DoxyCompactList}\small\item\em 验证手机号 \item\end{DoxyCompactList}\item 
static bool {\bfseries HasMobile} (string source)\label{class_tools_1_1_page_validate_helper_aa4132adf74b7940cf551bdc2c23ce03b}

\item 
static bool {\bf IsIP} (string source)
\begin{DoxyCompactList}\small\item\em 验证IP \item\end{DoxyCompactList}\item 
static bool {\bfseries HasIP} (string source)\label{class_tools_1_1_page_validate_helper_ae31001ec763bc9e840f7abed9e992a69}

\item 
static bool {\bf IsIDCard} (string Id)
\begin{DoxyCompactList}\small\item\em 验证身份证是否有效 \item\end{DoxyCompactList}\item 
static bool {\bfseries IsIDCard18} (string Id)\label{class_tools_1_1_page_validate_helper_a98bd6a863da911b4a720c177bf0487d3}

\item 
static bool {\bfseries IsIDCard15} (string Id)\label{class_tools_1_1_page_validate_helper_af314afed29af346610f47b85f96bee2b}

\item 
static bool {\bf IsInt} (string source)
\begin{DoxyCompactList}\small\item\em 是不是Int型的 \item\end{DoxyCompactList}\item 
static bool {\bf IsLengthStr} (string source, int begin, int end)
\begin{DoxyCompactList}\small\item\em 看字符串的长度是不是在限定数之间 一个中文为两个字符 \item\end{DoxyCompactList}\item 
static bool {\bf IsTel} (string source)
\begin{DoxyCompactList}\small\item\em 是不是中国电话，格式010-\/85849685 \item\end{DoxyCompactList}\item 
static bool {\bf IsPostCode} (string source)
\begin{DoxyCompactList}\small\item\em 邮政编码 6个数字 \item\end{DoxyCompactList}\item 
static bool {\bf IsChinese} (string source)
\begin{DoxyCompactList}\small\item\em 中文 \item\end{DoxyCompactList}\item 
static bool {\bfseries hasChinese} (string source)\label{class_tools_1_1_page_validate_helper_a0428704ba17228df1c5cda6463382aa9}

\item 
static bool {\bf IsNormalChar} (string source)
\begin{DoxyCompactList}\small\item\em 验证是不是正常字符 字母，数字，下划线的组合 \item\end{DoxyCompactList}\item 
static string {\bf CheckStr} (string html)
\begin{DoxyCompactList}\small\item\em 过滤html,js,css代码 \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{详细描述}
PageValidate 的摘要说明 

\subsection{成员函数文档}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!CheckStr@{CheckStr}}
\index{CheckStr@{CheckStr}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{CheckStr}]{\setlength{\rightskip}{0pt plus 5cm}static string Tools.PageValidateHelper.CheckStr (
\begin{DoxyParamCaption}
\item[{string}]{ html}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_acc396d429a4ee8c250121bdd8e567e54}


过滤html,js,css代码 

过滤html,js,css代码


\begin{DoxyParams}{参数}
{\em html} & 参数传入\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!Decode@{Decode}}
\index{Decode@{Decode}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{Decode}]{\setlength{\rightskip}{0pt plus 5cm}static string Tools.PageValidateHelper.Decode (
\begin{DoxyParamCaption}
\item[{string}]{ str}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_a85ef6fa70cb3c5f33d966c6d632d4b1c}


解析html成 普通文本 


\begin{DoxyParams}{参数}
{\em str} & string\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
string
\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!Encode@{Encode}}
\index{Encode@{Encode}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{Encode}]{\setlength{\rightskip}{0pt plus 5cm}static string Tools.PageValidateHelper.Encode (
\begin{DoxyParamCaption}
\item[{string}]{ str}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_a758ea77289afbf6e6760f76677ba8423}


转换成 HTML code 


\begin{DoxyParams}{参数}
{\em str} & string\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
string
\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!FetchInputDigit@{FetchInputDigit}}
\index{FetchInputDigit@{FetchInputDigit}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{FetchInputDigit}]{\setlength{\rightskip}{0pt plus 5cm}static string Tools.PageValidateHelper.FetchInputDigit (
\begin{DoxyParamCaption}
\item[{HttpRequest}]{ req, }
\item[{string}]{ inputKey, }
\item[{int}]{ maxLen}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_a8291b4382270f9421496860b915efa91}


检查Request查询字符串的键值，是否是数字，最大长度限制 


\begin{DoxyParams}{参数}
{\em req} & Request\\
\hline
{\em inputKey} & Request的键值\\
\hline
{\em maxLen} & 最大长度\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回Request查询字符串
\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!HtmlEncode@{HtmlEncode}}
\index{HtmlEncode@{HtmlEncode}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{HtmlEncode}]{\setlength{\rightskip}{0pt plus 5cm}static string Tools.PageValidateHelper.HtmlEncode (
\begin{DoxyParamCaption}
\item[{string}]{ inputData}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_a1ea36cb3713c6dce963e087171962ddd}


字符串编码 


\begin{DoxyParams}{参数}
{\em inputData} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsChinese@{IsChinese}}
\index{IsChinese@{IsChinese}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsChinese}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsChinese (
\begin{DoxyParamCaption}
\item[{string}]{ source}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_a85893d121e0c5656e3da32c803dca6b0}


中文 


\begin{DoxyParams}{参数}
{\em source} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!isContainSpecChar@{isContainSpecChar}}
\index{isContainSpecChar@{isContainSpecChar}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{isContainSpecChar}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.isContainSpecChar (
\begin{DoxyParamCaption}
\item[{string}]{ strInput}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_ab94bc038fe87a2e21438edbe93e39be4}


检查输入的参数是不是某些定义好的特殊字符：这个方法目前用于密码输入的安全检查 

\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsDateTime@{IsDateTime}}
\index{IsDateTime@{IsDateTime}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsDateTime}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsDateTime (
\begin{DoxyParamCaption}
\item[{string}]{ source}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_aac1116934fa7b35cb6bb233d53aa907a}


验证日期 


\begin{DoxyParams}{参数}
{\em source} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsDateTime1@{IsDateTime1}}
\index{IsDateTime1@{IsDateTime1}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsDateTime1}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsDateTime1 (
\begin{DoxyParamCaption}
\item[{string}]{ str}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_a774824c03c24b45dad054dde3266ec2a}


日期格式字符串判断 


\begin{DoxyParams}{参数}
{\em str} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsDecimal@{IsDecimal}}
\index{IsDecimal@{IsDecimal}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsDecimal}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsDecimal (
\begin{DoxyParamCaption}
\item[{string}]{ inputData}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_ac5fbbf5ce18863ed1d985e7bfa1ce7cd}


是否是浮点数 


\begin{DoxyParams}{参数}
{\em inputData} & 输入字符串\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsDecimalSign@{IsDecimalSign}}
\index{IsDecimalSign@{IsDecimalSign}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsDecimalSign}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsDecimalSign (
\begin{DoxyParamCaption}
\item[{string}]{ inputData}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_a6d1f19f93c1ad22616bd23d8cde2f6b5}


是否是浮点数 可带正负号 


\begin{DoxyParams}{参数}
{\em inputData} & 输入字符串\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsEmail@{IsEmail}}
\index{IsEmail@{IsEmail}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsEmail}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsEmail (
\begin{DoxyParamCaption}
\item[{string}]{ source}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_a63d13b9bfd84aa47175b3639ec985cdd}


验证邮箱 


\begin{DoxyParams}{参数}
{\em source} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsEmail1@{IsEmail1}}
\index{IsEmail1@{IsEmail1}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsEmail1}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsEmail1 (
\begin{DoxyParamCaption}
\item[{string}]{ inputData}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_a9260f9cbfd1c30c7490b5bb15d337743}


是否是浮点数 可带正负号 


\begin{DoxyParams}{参数}
{\em inputData} & 输入字符串\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsHasCHZN@{IsHasCHZN}}
\index{IsHasCHZN@{IsHasCHZN}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsHasCHZN}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsHasCHZN (
\begin{DoxyParamCaption}
\item[{string}]{ inputData}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_a4aea66ff006a7262074b06ae27145ac3}


检测是否有中文字符 


\begin{DoxyParams}{参数}
{\em inputData} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsIDCard@{IsIDCard}}
\index{IsIDCard@{IsIDCard}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsIDCard}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsIDCard (
\begin{DoxyParamCaption}
\item[{string}]{ Id}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_acfd458cdf911a3e95650f9e06caf8580}


验证身份证是否有效 


\begin{DoxyParams}{参数}
{\em Id} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsInt@{IsInt}}
\index{IsInt@{IsInt}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsInt}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsInt (
\begin{DoxyParamCaption}
\item[{string}]{ source}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_ad4511d4ac5b24a6fa5fc1c5fa434da76}


是不是Int型的 


\begin{DoxyParams}{参数}
{\em source} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsIP@{IsIP}}
\index{IsIP@{IsIP}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsIP}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsIP (
\begin{DoxyParamCaption}
\item[{string}]{ source}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_a6001a5d78e80156635493d9c3d89d8ed}


验证IP 


\begin{DoxyParams}{参数}
{\em source} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsLengthStr@{IsLengthStr}}
\index{IsLengthStr@{IsLengthStr}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsLengthStr}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsLengthStr (
\begin{DoxyParamCaption}
\item[{string}]{ source, }
\item[{int}]{ begin, }
\item[{int}]{ end}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_a1932015a0c30508c45669f30483acf72}


看字符串的长度是不是在限定数之间 一个中文为两个字符 


\begin{DoxyParams}{参数}
{\em source} & 字符串\\
\hline
{\em begin} & 大于等于\\
\hline
{\em end} & 小于等于\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsMobile@{IsMobile}}
\index{IsMobile@{IsMobile}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsMobile}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsMobile (
\begin{DoxyParamCaption}
\item[{string}]{ source}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_a73381e64e4aa71f8bc75a6ca2b5c2db9}


验证手机号 


\begin{DoxyParams}{参数}
{\em source} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsNormalChar@{IsNormalChar}}
\index{IsNormalChar@{IsNormalChar}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsNormalChar}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsNormalChar (
\begin{DoxyParamCaption}
\item[{string}]{ source}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_a38976db4a22e0908abcf0a587ff12899}


验证是不是正常字符 字母，数字，下划线的组合 


\begin{DoxyParams}{参数}
{\em source} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsNumber@{IsNumber}}
\index{IsNumber@{IsNumber}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsNumber}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsNumber (
\begin{DoxyParamCaption}
\item[{string}]{ inputData}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_ae499a8977653be7917b3ab484f5714d5}


是否数字字符串 


\begin{DoxyParams}{参数}
{\em inputData} & 输入字符串\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsNumberSign@{IsNumberSign}}
\index{IsNumberSign@{IsNumberSign}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsNumberSign}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsNumberSign (
\begin{DoxyParamCaption}
\item[{string}]{ inputData}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_a91cef60019c57be8d3676e7fb689241f}


是否数字字符串 可带正负号 


\begin{DoxyParams}{参数}
{\em inputData} & 输入字符串\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsPostCode@{IsPostCode}}
\index{IsPostCode@{IsPostCode}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsPostCode}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsPostCode (
\begin{DoxyParamCaption}
\item[{string}]{ source}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_ae5330919c97e028bee835f0c80ffcbab}


邮政编码 6个数字 


\begin{DoxyParams}{参数}
{\em source} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsTel@{IsTel}}
\index{IsTel@{IsTel}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsTel}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsTel (
\begin{DoxyParamCaption}
\item[{string}]{ source}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_af831dec6d422547411e485585e06d8ce}


是不是中国电话，格式010-\/85849685 


\begin{DoxyParams}{参数}
{\em source} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!IsUrl@{IsUrl}}
\index{IsUrl@{IsUrl}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{IsUrl}]{\setlength{\rightskip}{0pt plus 5cm}static bool Tools.PageValidateHelper.IsUrl (
\begin{DoxyParamCaption}
\item[{string}]{ source}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_a6725867205c243758111b7bc273a3c0b}


验证网址 


\begin{DoxyParams}{参数}
{\em source} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!SetLabel@{SetLabel}}
\index{SetLabel@{SetLabel}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{SetLabel}]{\setlength{\rightskip}{0pt plus 5cm}static void Tools.PageValidateHelper.SetLabel (
\begin{DoxyParamCaption}
\item[{Label}]{ lbl, }
\item[{string}]{ txtInput}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_a7be7385bd255bdf75b136f551b7ba96a}


设置Label显示Encode的字符串 


\begin{DoxyParams}{参数}
{\em lbl} & \\
\hline
{\em txtInput} & \\
\hline
\end{DoxyParams}
\index{Tools::PageValidateHelper@{Tools::PageValidateHelper}!SqlText@{SqlText}}
\index{SqlText@{SqlText}!Tools::PageValidateHelper@{Tools::PageValidateHelper}}
\subsubsection[{SqlText}]{\setlength{\rightskip}{0pt plus 5cm}static string Tools.PageValidateHelper.SqlText (
\begin{DoxyParamCaption}
\item[{string}]{ sqlInput, }
\item[{int}]{ maxLength}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_page_validate_helper_a1bf9213a6e24c3c1bd6088d8d53b66dd}


检查字符串最大长度，返回指定长度的串 


\begin{DoxyParams}{参数}
{\em sqlInput} & 输入字符串\\
\hline
{\em maxLength} & 最大长度\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}


该类的文档由以下文件生成：\begin{DoxyCompactItemize}
\item 
D:/Project/1101/Tools/PageValidateHelper.cs\end{DoxyCompactItemize}
